package com.woniuxy.dao;

import com.woniuxy.controller.dto.GetHousingMaterialDto;
import com.woniuxy.dao.model.HousingMaterial;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * <p>
 * 维修材料字典表 Mapper 接口
 * </p>
 *
 * @author Keep it simple
 * @since 2022-06-28
 */
public interface HousingMaterialDao extends BaseMapper<HousingMaterial> {

    @Select("SELECT DISTINCT dictAllName FROM housing_material")
    List<String> getAllMaterialName();
}
